package com.azthink.chapter423.controller;

import com.azthink.chapter423.utils.ResultGenerator;
import com.azthink.chapter423.vo.Result;
import org.springframework.web.bind.annotation.ExceptionHandler;

//控制层的父类
public class BaseCotroller {

  /*  @ExceptionHandler(Exception.class)
    public Result exceptionHandler(Exception e){
        return ResultGenerator.fail(501,e.getMessage(), null);
    }*/
}
